package cn.iocoder.yudao.module.brokerage.record.pojo.vo;

import cn.iocoder.yudao.framework.business.basic.pojo.bo.CreateTimeQuery;
import cn.iocoder.yudao.framework.business.basic.pojo.dto.QueryDTO;
import cn.iocoder.yudao.framework.validation.InEnumCode;
import cn.iocoder.yudao.framework.validation.InEnumValue;
import cn.iocoder.yudao.module.api.brokerage.record.enums.BrokerageRecordBizTypeEnum;
import cn.iocoder.yudao.module.api.brokerage.record.enums.BrokerageRecordStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "分佣记录查询 Request VO")
@Data
public class AppBrokerageRecordQueryDTO extends QueryDTO implements CreateTimeQuery {

    @Schema(description = "业务类型：buy_product-购买产品", example = "buy_product")
    @InEnumCode(BrokerageRecordBizTypeEnum.class)
    private String bizType;

    @Schema(description = "状态：0-待入账、1-已结算、2-已失效、3-已取消", example = "0")
    @InEnumValue(BrokerageRecordStatusEnum.class)
    private Integer status;

    @Schema(description = "年", example = "2025")
    private Integer year;

    @Schema(description = "月", example = "01")
    private Integer month;

    @Schema(description = "日", example = "01")
    private Integer day;

}